Interface ResourceIdentifier.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ResourceIdentifier.Builder,ResourceIdentifier>
,SdkBuilder<ResourceIdentifier.Builder,ResourceIdentifier>
,SdkPojo
- Enclosing class:
- ResourceIdentifier
public static interface ResourceIdentifier.Builder extends SdkPojo, CopyableBuilder<ResourceIdentifier.Builder,ResourceIdentifier>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ResourceIdentifier.Builder
account(String account)
The account with which the resource is associated.ResourceIdentifier.Builder
caCertificateId(String caCertificateId)
The ID of the CA certificate used to authorize the certificate.ResourceIdentifier.Builder
clientId(String clientId)
The client ID.ResourceIdentifier.Builder
cognitoIdentityPoolId(String cognitoIdentityPoolId)
The ID of the Amazon Cognito identity pool.ResourceIdentifier.Builder
deviceCertificateArn(String deviceCertificateArn)
The ARN of the identified device certificate.ResourceIdentifier.Builder
deviceCertificateId(String deviceCertificateId)
The ID of the certificate attached to the resource.ResourceIdentifier.Builder
iamRoleArn(String iamRoleArn)
The ARN of the IAM role that has overly permissive actions.default ResourceIdentifier.Builder
issuerCertificateIdentifier(Consumer<IssuerCertificateIdentifier.Builder> issuerCertificateIdentifier)
The issuer certificate identifier.ResourceIdentifier.Builder
issuerCertificateIdentifier(IssuerCertificateIdentifier issuerCertificateIdentifier)
The issuer certificate identifier.default ResourceIdentifier.Builder
policyVersionIdentifier(Consumer<PolicyVersionIdentifier.Builder> policyVersionIdentifier)
The version of the policy associated with the resource.ResourceIdentifier.Builder
policyVersionIdentifier(PolicyVersionIdentifier policyVersionIdentifier)
The version of the policy associated with the resource.ResourceIdentifier.Builder
roleAliasArn(String roleAliasArn)
The ARN of the role alias that has overly permissive actions.-
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
-
deviceCertificateId
ResourceIdentifier.Builder deviceCertificateId(String deviceCertificateId)
The ID of the certificate attached to the resource.
- Parameters:
deviceCertificateId
- The ID of the certificate attached to the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
caCertificateId
ResourceIdentifier.Builder caCertificateId(String caCertificateId)
The ID of the CA certificate used to authorize the certificate.
- Parameters:
caCertificateId
- The ID of the CA certificate used to authorize the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cognitoIdentityPoolId
ResourceIdentifier.Builder cognitoIdentityPoolId(String cognitoIdentityPoolId)
The ID of the Amazon Cognito identity pool.
- Parameters:
cognitoIdentityPoolId
- The ID of the Amazon Cognito identity pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientId
ResourceIdentifier.Builder clientId(String clientId)
The client ID.
- Parameters:
clientId
- The client ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyVersionIdentifier
ResourceIdentifier.Builder policyVersionIdentifier(PolicyVersionIdentifier policyVersionIdentifier)
The version of the policy associated with the resource.
- Parameters:
policyVersionIdentifier
- The version of the policy associated with the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyVersionIdentifier
default ResourceIdentifier.Builder policyVersionIdentifier(Consumer<PolicyVersionIdentifier.Builder> policyVersionIdentifier)
The version of the policy associated with the resource.
This is a convenience method that creates an instance of thePolicyVersionIdentifier.Builder
avoiding the need to create one manually viaPolicyVersionIdentifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topolicyVersionIdentifier(PolicyVersionIdentifier)
.- Parameters:
policyVersionIdentifier
- a consumer that will call methods onPolicyVersionIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
policyVersionIdentifier(PolicyVersionIdentifier)
-
account
ResourceIdentifier.Builder account(String account)
The account with which the resource is associated.
- Parameters:
account
- The account with which the resource is associated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamRoleArn
ResourceIdentifier.Builder iamRoleArn(String iamRoleArn)
The ARN of the IAM role that has overly permissive actions.
- Parameters:
iamRoleArn
- The ARN of the IAM role that has overly permissive actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleAliasArn
ResourceIdentifier.Builder roleAliasArn(String roleAliasArn)
The ARN of the role alias that has overly permissive actions.
- Parameters:
roleAliasArn
- The ARN of the role alias that has overly permissive actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issuerCertificateIdentifier
ResourceIdentifier.Builder issuerCertificateIdentifier(IssuerCertificateIdentifier issuerCertificateIdentifier)
The issuer certificate identifier.
- Parameters:
issuerCertificateIdentifier
- The issuer certificate identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issuerCertificateIdentifier
default ResourceIdentifier.Builder issuerCertificateIdentifier(Consumer<IssuerCertificateIdentifier.Builder> issuerCertificateIdentifier)
The issuer certificate identifier.
This is a convenience method that creates an instance of theIssuerCertificateIdentifier.Builder
avoiding the need to create one manually viaIssuerCertificateIdentifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toissuerCertificateIdentifier(IssuerCertificateIdentifier)
.- Parameters:
issuerCertificateIdentifier
- a consumer that will call methods onIssuerCertificateIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
issuerCertificateIdentifier(IssuerCertificateIdentifier)
-
deviceCertificateArn
ResourceIdentifier.Builder deviceCertificateArn(String deviceCertificateArn)
The ARN of the identified device certificate.
- Parameters:
deviceCertificateArn
- The ARN of the identified device certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-