Interface Resource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Resource.Builder,,Resource> SdkBuilder<Resource.Builder,,Resource> SdkPojo
- Enclosing class:
Resource
public static interface Resource.Builder
extends SdkPojo, CopyableBuilder<Resource.Builder,Resource>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon resource name (ARN) of the resource.associationTime(Instant associationTime) The time the resource was associated with the application.default Resource.Builderintegrations(Consumer<ResourceIntegrations.Builder> integrations) The service integration information about the resource.integrations(ResourceIntegrations integrations) The service integration information about the resource.The name of the resource.Methods 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, sdkFields
-
Method Details
-
name
The name of the resource.
- Parameters:
name- The name of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon resource name (ARN) of the resource.
- Parameters:
arn- The Amazon resource name (ARN) of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationTime
The time the resource was associated with the application.
- Parameters:
associationTime- The time the resource was associated with the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
integrations
The service integration information about the resource.
- Parameters:
integrations- The service integration information about the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
integrations
The service integration information about the resource.
This is a convenience method that creates an instance of theResourceIntegrations.Builderavoiding the need to create one manually viaResourceIntegrations.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tointegrations(ResourceIntegrations).- Parameters:
integrations- a consumer that will call methods onResourceIntegrations.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-