Interface AddArtifactRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AddArtifactRequest.Builder,,AddArtifactRequest> SdkBuilder<AddArtifactRequest.Builder,,AddArtifactRequest> SdkPojo,SdkRequest.Builder,SecurityAgentRequest.Builder
- Enclosing class:
AddArtifactRequest
@Mutable
@NotThreadSafe
public static interface AddArtifactRequest.Builder
extends SecurityAgentRequest.Builder, SdkPojo, CopyableBuilder<AddArtifactRequest.Builder,AddArtifactRequest>
-
Method Summary
Modifier and TypeMethodDescriptionagentSpaceId(String agentSpaceId) The unique identifier of the agent space to add the artifact to.artifactContent(SdkBytes artifactContent) The binary content of the artifact to upload.artifactType(String artifactType) The file type of the artifact.artifactType(ArtifactType artifactType) The file type of the artifact.The file name of the artifact.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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.services.securityagent.model.SecurityAgentRequest.Builder
build
-
Method Details
-
agentSpaceId
The unique identifier of the agent space to add the artifact to.
- Parameters:
agentSpaceId- The unique identifier of the agent space to add the artifact to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifactContent
The binary content of the artifact to upload.
- Parameters:
artifactContent- The binary content of the artifact to upload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifactType
The file type of the artifact. Valid values include TXT, PNG, JPEG, MD, PDF, DOCX, DOC, JSON, and YAML.
- Parameters:
artifactType- The file type of the artifact. Valid values include TXT, PNG, JPEG, MD, PDF, DOCX, DOC, JSON, and YAML.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
artifactType
The file type of the artifact. Valid values include TXT, PNG, JPEG, MD, PDF, DOCX, DOC, JSON, and YAML.
- Parameters:
artifactType- The file type of the artifact. Valid values include TXT, PNG, JPEG, MD, PDF, DOCX, DOC, JSON, and YAML.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fileName
The file name of the artifact.
- Parameters:
fileName- The file name of the artifact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AddArtifactRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AddArtifactRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-