Interface GetCodeIssueArtifactResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ContinuumResponse.Builder,CopyableBuilder<GetCodeIssueArtifactResponse.Builder,,GetCodeIssueArtifactResponse> SdkBuilder<GetCodeIssueArtifactResponse.Builder,,GetCodeIssueArtifactResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetCodeIssueArtifactResponse
-
Method Summary
Modifier and TypeMethodDescriptionartifactId(String artifactId) The unique identifier of the artifact.artifactType(String artifactType) Semantic category of the artifact.artifactType(IssueArtifactType artifactType) Semantic category of the artifact.The artifact body, projected against the shape defined for its artifactType.body(IssueArtifactBody body) The artifact body, projected against the shape defined for its artifactType.The timestamp when the artifact was created.MIME type the producer declared for its content.Producer-defined structured metadata, when the producer supplied any.producer(Consumer<IssueArtifactProducerSummary.Builder> producer) The agent that produced the artifact.producer(IssueArtifactProducerSummary producer) The agent that produced the artifact.Methods inherited from interface software.amazon.awssdk.services.continuum.model.ContinuumResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkHttpResponse
-
Method Details
-
artifactId
The unique identifier of the artifact.
- Parameters:
artifactId- The unique identifier of the artifact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifactType
Semantic category of the artifact.
- Parameters:
artifactType- Semantic category of the artifact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
artifactType
Semantic category of the artifact.
- Parameters:
artifactType- Semantic category of the artifact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mediaType
MIME type the producer declared for its content.
- Parameters:
mediaType- MIME type the producer declared for its content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
body
The artifact body, projected against the shape defined for its artifactType. A type with a defined shape is returned as that structure, and anything else through
IssueArtifactBody.raw.- Parameters:
body- The artifact body, projected against the shape defined for its artifactType. A type with a defined shape is returned as that structure, and anything else throughIssueArtifactBody.raw.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
body
The artifact body, projected against the shape defined for its artifactType. A type with a defined shape is returned as that structure, and anything else through
This is a convenience method that creates an instance of theIssueArtifactBody.raw.IssueArtifactBody.Builderavoiding the need to create one manually viaIssueArtifactBody.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobody(IssueArtifactBody).- Parameters:
body- a consumer that will call methods onIssueArtifactBody.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
metadata
Producer-defined structured metadata, when the producer supplied any.
Returned only for an artifactType whose content has no defined shape, so that the artifact stays inspectable. For an artifactType with a defined shape,
bodycarries the content and this member is omitted.- Parameters:
metadata- Producer-defined structured metadata, when the producer supplied any.Returned only for an artifactType whose content has no defined shape, so that the artifact stays inspectable. For an artifactType with a defined shape,
bodycarries the content and this member is omitted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
producer
The agent that produced the artifact.
- Parameters:
producer- The agent that produced the artifact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
producer
default GetCodeIssueArtifactResponse.Builder producer(Consumer<IssueArtifactProducerSummary.Builder> producer) The agent that produced the artifact.
This is a convenience method that creates an instance of theIssueArtifactProducerSummary.Builderavoiding the need to create one manually viaIssueArtifactProducerSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toproducer(IssueArtifactProducerSummary).- Parameters:
producer- a consumer that will call methods onIssueArtifactProducerSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The timestamp when the artifact was created.
- Parameters:
createdAt- The timestamp when the artifact was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-