Interface GetArtifactResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetArtifactResponse.Builder,,GetArtifactResponse> SdkBuilder<GetArtifactResponse.Builder,,GetArtifactResponse> SdkPojo,SdkResponse.Builder,SecurityAgentResponse.Builder
- Enclosing class:
GetArtifactResponse
@Mutable
@NotThreadSafe
public static interface GetArtifactResponse.Builder
extends SecurityAgentResponse.Builder, SdkPojo, CopyableBuilder<GetArtifactResponse.Builder,GetArtifactResponse>
-
Method Summary
Modifier and TypeMethodDescriptionagentSpaceId(String agentSpaceId) Unique identifier of the agent spacedefault GetArtifactResponse.Builderartifact(Consumer<Artifact.Builder> artifact) Artifact detailsArtifact detailsartifactId(String artifactId) Unique identifier of the artifactName of the artifact fileTimestamp when the artifact was last updatedMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.securityagent.model.SecurityAgentResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
agentSpaceId
Unique identifier of the agent space
- Parameters:
agentSpaceId- Unique identifier of the agent space- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifactId
Unique identifier of the artifact
- Parameters:
artifactId- Unique identifier of the artifact- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifact
Artifact details
- Parameters:
artifact- Artifact details- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifact
Artifact details
This is a convenience method that creates an instance of theArtifact.Builderavoiding the need to create one manually viaArtifact.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toartifact(Artifact).- Parameters:
artifact- a consumer that will call methods onArtifact.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fileName
Name of the artifact file
- Parameters:
fileName- Name of the artifact file- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
Timestamp when the artifact was last updated
- Parameters:
updatedAt- Timestamp when the artifact was last updated- Returns:
- Returns a reference to this object so that method calls can be chained together.
-