Interface ServiceNameAndResourceType.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ServiceNameAndResourceType.Builder,,ServiceNameAndResourceType> SdkBuilder<ServiceNameAndResourceType.Builder,,ServiceNameAndResourceType> SdkPojo
- Enclosing class:
- ServiceNameAndResourceType
-
Method Summary
Modifier and TypeMethodDescriptionresourceRegionScope(String resourceRegionScope) Specifies the scope of visibility of resources of this type:resourceRegionScope(ResourceRegionScope resourceRegionScope) Specifies the scope of visibility of resources of this type:resourceType(String resourceType) The type of the resource.serviceName(String serviceName) The name of the Amazon Web Services service to which resources of this type belong.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, sdkFieldNameToField, sdkFields
-
Method Details
-
resourceType
The type of the resource. 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:
resourceType- The type of the resource. 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.
-
serviceName
The name of the Amazon Web Services service to which resources of this type belong.
- Parameters:
serviceName- The name of the Amazon Web Services service to which resources of this type belong.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceRegionScope
Specifies the scope of visibility of resources of this type:
-
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 resources of this type:-
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 resources of this type:
-
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 resources of this type:-
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:
-
-