Interface GetResourceResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudControlResponse.Builder,CopyableBuilder<GetResourceResponse.Builder,GetResourceResponse>,SdkBuilder<GetResourceResponse.Builder,GetResourceResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetResourceResponse
public static interface GetResourceResponse.Builder extends CloudControlResponse.Builder, SdkPojo, CopyableBuilder<GetResourceResponse.Builder,GetResourceResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetResourceResponse.BuilderresourceDescription(Consumer<ResourceDescription.Builder> resourceDescription)Sets the value of the ResourceDescription property for this object.GetResourceResponse.BuilderresourceDescription(ResourceDescription resourceDescription)Sets the value of the ResourceDescription property for this object.GetResourceResponse.BuildertypeName(String typeName)The name of the resource type.-
Methods inherited from interface software.amazon.awssdk.services.cloudcontrol.model.CloudControlResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
typeName
GetResourceResponse.Builder typeName(String typeName)
The name of the resource type.
- Parameters:
typeName- The name of the resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceDescription
GetResourceResponse.Builder resourceDescription(ResourceDescription resourceDescription)
Sets the value of the ResourceDescription property for this object.- Parameters:
resourceDescription- The new value for the ResourceDescription property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceDescription
default GetResourceResponse.Builder resourceDescription(Consumer<ResourceDescription.Builder> resourceDescription)
Sets the value of the ResourceDescription property for this object. This is a convenience method that creates an instance of theResourceDescription.Builderavoiding the need to create one manually viaResourceDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceDescription(ResourceDescription).- Parameters:
resourceDescription- a consumer that will call methods onResourceDescription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
resourceDescription(ResourceDescription)
-
-