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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Resource.Builderarn(String arn)The Amazon Resource Name (ARN) of the resource.Resource.BuildercreationTime(Instant creationTime)The date and time when the resource was associated with the resource share.Resource.BuilderlastUpdatedTime(Instant lastUpdatedTime)The date an time when the association between the resource and the resource share was last updated.Resource.BuilderresourceGroupArn(String resourceGroupArn)The Amazon Resource Name (ARN) of the resource group.Resource.BuilderresourceRegionScope(String resourceRegionScope)Specifies the scope of visibility of this resource:Resource.BuilderresourceRegionScope(ResourceRegionScope resourceRegionScope)Specifies the scope of visibility of this resource:Resource.BuilderresourceShareArn(String resourceShareArn)The Amazon Resource Name (ARN) of the resource share this resource is associated with.Resource.Builderstatus(String status)The current status of the resource.Resource.Builderstatus(ResourceStatus status)The current status of the resource.Resource.BuilderstatusMessage(String statusMessage)A message about the status of the resource.Resource.Buildertype(String type)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 Detail
-
arn
Resource.Builder arn(String 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
Resource.Builder type(String 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.
-
resourceShareArn
Resource.Builder resourceShareArn(String resourceShareArn)
The Amazon Resource Name (ARN) of the resource share this resource is associated with.
- Parameters:
resourceShareArn- The Amazon Resource Name (ARN) of the resource share this resource is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceGroupArn
Resource.Builder resourceGroupArn(String 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
Resource.Builder status(String 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:
ResourceStatus,ResourceStatus
-
status
Resource.Builder status(ResourceStatus 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:
ResourceStatus,ResourceStatus
-
statusMessage
Resource.Builder statusMessage(String 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
Resource.Builder creationTime(Instant 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
Resource.Builder lastUpdatedTime(Instant 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
Resource.Builder resourceRegionScope(String 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,ResourceRegionScope
-
-
resourceRegionScope
Resource.Builder resourceRegionScope(ResourceRegionScope 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,ResourceRegionScope
-
-
-