Interface GetResourceTargetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BackupExternalResponse.Builder,Buildable,CopyableBuilder<GetResourceTargetResponse.Builder,,GetResourceTargetResponse> SdkBuilder<GetResourceTargetResponse.Builder,,GetResourceTargetResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetResourceTargetResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the resource target.The date and time that the resource target was created.externalIdentifier(String externalIdentifier) The identifier of the resource target in the external system.externalName(String externalName) The name of the resource target in the external system.lastSyncedAt(Instant lastSyncedAt) The date and time that the resource target was last synchronized with its resource provider.The name of the resource target.providerArn(String providerArn) The Amazon Resource Name (ARN) of the resource target's provider.providerType(String providerType) The type of resource provider.providerType(ResourceProviderType providerType) The type of resource provider.The status of the resource target.status(ResourceTargetStatus status) The status of the resource target.statusMessage(String statusMessage) The message describing the status of the resource target.targetConfiguration(Consumer<ResourceTargetConfiguration.Builder> targetConfiguration) The backup configuration for the resource target.targetConfiguration(ResourceTargetConfiguration targetConfiguration) The backup configuration for the resource target.targetConfigurationSource(String targetConfigurationSource) The source of the resource target's backup configuration.targetConfigurationSource(ResourceTargetConfigurationSource targetConfigurationSource) The source of the resource target's backup configuration.targetMetadata(Consumer<ResourceTargetMetadata.Builder> targetMetadata) The metadata describing the resource target.targetMetadata(ResourceTargetMetadata targetMetadata) The metadata describing the resource target.targetType(String targetType) The type of resource target.targetType(ResourceTargetType targetType) The type of resource target.The date and time that the resource target was last updated.Methods inherited from interface software.amazon.awssdk.services.backupexternal.model.BackupExternalResponse.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
-
arn
The Amazon Resource Name (ARN) of the resource target.
- Parameters:
arn- The Amazon Resource Name (ARN) of the resource target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The date and time that the resource target was created.
- Parameters:
createdAt- The date and time that the resource target was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalIdentifier
The identifier of the resource target in the external system.
- Parameters:
externalIdentifier- The identifier of the resource target in the external system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalName
The name of the resource target in the external system.
- Parameters:
externalName- The name of the resource target in the external system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastSyncedAt
The date and time that the resource target was last synchronized with its resource provider.
- Parameters:
lastSyncedAt- The date and time that the resource target was last synchronized with its resource provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the resource target.
- Parameters:
name- The name of the resource target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
providerArn
The Amazon Resource Name (ARN) of the resource target's provider.
- Parameters:
providerArn- The Amazon Resource Name (ARN) of the resource target's provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
providerType
The type of resource provider.
- Parameters:
providerType- The type of resource provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
providerType
The type of resource provider.
- Parameters:
providerType- The type of resource provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the resource target.
- Parameters:
status- The status of the resource target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the resource target.
- Parameters:
status- The status of the resource target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusMessage
The message describing the status of the resource target.
- Parameters:
statusMessage- The message describing the status of the resource target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetConfiguration
GetResourceTargetResponse.Builder targetConfiguration(ResourceTargetConfiguration targetConfiguration) The backup configuration for the resource target.
- Parameters:
targetConfiguration- The backup configuration for the resource target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetConfiguration
default GetResourceTargetResponse.Builder targetConfiguration(Consumer<ResourceTargetConfiguration.Builder> targetConfiguration) The backup configuration for the resource target.
This is a convenience method that creates an instance of theResourceTargetConfiguration.Builderavoiding the need to create one manually viaResourceTargetConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargetConfiguration(ResourceTargetConfiguration).- Parameters:
targetConfiguration- a consumer that will call methods onResourceTargetConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetConfigurationSource
The source of the resource target's backup configuration.
- Parameters:
targetConfigurationSource- The source of the resource target's backup configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetConfigurationSource
GetResourceTargetResponse.Builder targetConfigurationSource(ResourceTargetConfigurationSource targetConfigurationSource) The source of the resource target's backup configuration.
- Parameters:
targetConfigurationSource- The source of the resource target's backup configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetMetadata
The metadata describing the resource target.
- Parameters:
targetMetadata- The metadata describing the resource target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetMetadata
default GetResourceTargetResponse.Builder targetMetadata(Consumer<ResourceTargetMetadata.Builder> targetMetadata) The metadata describing the resource target.
This is a convenience method that creates an instance of theResourceTargetMetadata.Builderavoiding the need to create one manually viaResourceTargetMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargetMetadata(ResourceTargetMetadata).- Parameters:
targetMetadata- a consumer that will call methods onResourceTargetMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetType
The type of resource target.
- Parameters:
targetType- The type of resource target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetType
The type of resource target.
- Parameters:
targetType- The type of resource target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updatedAt
The date and time that the resource target was last updated.
- Parameters:
updatedAt- The date and time that the resource target was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-