Interface Resource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Resource.Builder,
,Resource> SdkBuilder<Resource.Builder,
,Resource> SdkPojo
- Enclosing class:
Resource
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the resource.creationTime
(Instant creationTime) The date and time when the resource was associated with the resource share.lastUpdatedTime
(Instant lastUpdatedTime) The date an time when the association between the resource and the resource share was last updated.resourceGroupArn
(String resourceGroupArn) The Amazon Resource Name (ARN) of the resource group.resourceRegionScope
(String resourceRegionScope) Specifies the scope of visibility of this resource:resourceRegionScope
(ResourceRegionScope resourceRegionScope) Specifies the scope of visibility of this resource:resourceShareArn
(String resourceShareArn) The Amazon Resource Name (ARN) of the resource share this resource is associated with.The current status of the resource.status
(ResourceStatus status) The current status of the resource.statusMessage
(String statusMessage) A message about the status of the resource.The resource type.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
-
Method Details
-
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.
-
type
The resource type. This takes the form of:
service-code
:resource-code
, and is case-insensitive. For example, an Amazon EC2 Subnet would be represented by the stringec2:subnet
.- Parameters:
type
- The resource type. This takes the form of:service-code
:resource-code
, and is case-insensitive. For example, an Amazon EC2 Subnet would be represented by the stringec2:subnet
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceGroupArn
The Amazon Resource Name (ARN) of the resource group. This value is available only if the resource is part of a resource group.
- Parameters:
resourceGroupArn
- The Amazon Resource Name (ARN) of the resource group. This value is available only if the resource is part of a resource group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the resource.
- Parameters:
status
- The current status of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the resource.
- Parameters:
status
- The current status of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusMessage
A message about the status of the resource.
- Parameters:
statusMessage
- A message about the status of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The date and time when the resource was associated with the resource share.
- Parameters:
creationTime
- The date and time when the resource was associated with the resource share.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTime
The date an time when the association between the resource and the resource share was last updated.
- Parameters:
lastUpdatedTime
- The date an time when the association between the resource and the resource share was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceRegionScope
Specifies the scope of visibility of this resource:
-
REGIONAL – The resource can be accessed only by using requests that target the Amazon Web Services Region in which the resource exists.
-
GLOBAL – The resource can be accessed from any Amazon Web Services Region.
- Parameters:
resourceRegionScope
- Specifies the scope of visibility of this resource:-
REGIONAL – The resource can be accessed only by using requests that target the Amazon Web Services Region in which the resource exists.
-
GLOBAL – The resource can be accessed from any Amazon Web Services Region.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
resourceRegionScope
Specifies the scope of visibility of this resource:
-
REGIONAL – The resource can be accessed only by using requests that target the Amazon Web Services Region in which the resource exists.
-
GLOBAL – The resource can be accessed from any Amazon Web Services Region.
- Parameters:
resourceRegionScope
- Specifies the scope of visibility of this resource:-
REGIONAL – The resource can be accessed only by using requests that target the Amazon Web Services Region in which the resource exists.
-
GLOBAL – The resource can be accessed from any Amazon Web Services Region.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-