Interface CreateAgentSpaceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateAgentSpaceResponse.Builder,,CreateAgentSpaceResponse> DevOpsAgentResponse.Builder,SdkBuilder<CreateAgentSpaceResponse.Builder,,CreateAgentSpaceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateAgentSpaceResponse
@Mutable
@NotThreadSafe
public static interface CreateAgentSpaceResponse.Builder
extends DevOpsAgentResponse.Builder, SdkPojo, CopyableBuilder<CreateAgentSpaceResponse.Builder,CreateAgentSpaceResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateAgentSpaceResponse.BuilderagentSpace(Consumer<AgentSpace.Builder> agentSpace) Sets the value of the AgentSpace property for this object.agentSpace(AgentSpace agentSpace) Sets the value of the AgentSpace property for this object.Tags associated with the created AgentSpace.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.devopsagent.model.DevOpsAgentResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
agentSpace
Sets the value of the AgentSpace property for this object.- Parameters:
agentSpace- The new value for the AgentSpace property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentSpace
Sets the value of the AgentSpace property for this object. This is a convenience method that creates an instance of theAgentSpace.Builderavoiding the need to create one manually viaAgentSpace.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toagentSpace(AgentSpace).- Parameters:
agentSpace- a consumer that will call methods onAgentSpace.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Tags associated with the created AgentSpace.
- Parameters:
tags- Tags associated with the created AgentSpace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-