public class ResourceIdentifier
extends java.lang.Object
implements java.io.Serializable
Information that identifies the noncompliant resource.
Constructor and Description |
---|
ResourceIdentifier() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAccount()
The account with which the resource is associated.
|
java.lang.String |
getCaCertificateId()
The ID of the CA certificate used to authorize the certificate.
|
java.lang.String |
getClientId()
The client ID.
|
java.lang.String |
getCognitoIdentityPoolId()
The ID of the Amazon Cognito identity pool.
|
java.lang.String |
getDeviceCertificateId()
The ID of the certificate attached to the resource.
|
java.lang.String |
getIamRoleArn()
The ARN of the IAM role that has overly permissive actions.
|
PolicyVersionIdentifier |
getPolicyVersionIdentifier()
The version of the policy associated with the resource.
|
java.lang.String |
getRoleAliasArn()
The ARN of the role alias that has overly permissive actions.
|
int |
hashCode() |
void |
setAccount(java.lang.String account)
The account with which the resource is associated.
|
void |
setCaCertificateId(java.lang.String caCertificateId)
The ID of the CA certificate used to authorize the certificate.
|
void |
setClientId(java.lang.String clientId)
The client ID.
|
void |
setCognitoIdentityPoolId(java.lang.String cognitoIdentityPoolId)
The ID of the Amazon Cognito identity pool.
|
void |
setDeviceCertificateId(java.lang.String deviceCertificateId)
The ID of the certificate attached to the resource.
|
void |
setIamRoleArn(java.lang.String iamRoleArn)
The ARN of the IAM role that has overly permissive actions.
|
void |
setPolicyVersionIdentifier(PolicyVersionIdentifier policyVersionIdentifier)
The version of the policy associated with the resource.
|
void |
setRoleAliasArn(java.lang.String roleAliasArn)
The ARN of the role alias that has overly permissive actions.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ResourceIdentifier |
withAccount(java.lang.String account)
The account with which the resource is associated.
|
ResourceIdentifier |
withCaCertificateId(java.lang.String caCertificateId)
The ID of the CA certificate used to authorize the certificate.
|
ResourceIdentifier |
withClientId(java.lang.String clientId)
The client ID.
|
ResourceIdentifier |
withCognitoIdentityPoolId(java.lang.String cognitoIdentityPoolId)
The ID of the Amazon Cognito identity pool.
|
ResourceIdentifier |
withDeviceCertificateId(java.lang.String deviceCertificateId)
The ID of the certificate attached to the resource.
|
ResourceIdentifier |
withIamRoleArn(java.lang.String iamRoleArn)
The ARN of the IAM role that has overly permissive actions.
|
ResourceIdentifier |
withPolicyVersionIdentifier(PolicyVersionIdentifier policyVersionIdentifier)
The version of the policy associated with the resource.
|
ResourceIdentifier |
withRoleAliasArn(java.lang.String roleAliasArn)
The ARN of the role alias that has overly permissive actions.
|
public java.lang.String getDeviceCertificateId()
The ID of the certificate attached to the resource.
Constraints:
Length: 64 - 64
Pattern: (0x)?[a-fA-F0-9]+
The ID of the certificate attached to the resource.
public void setDeviceCertificateId(java.lang.String deviceCertificateId)
The ID of the certificate attached to the resource.
Constraints:
Length: 64 - 64
Pattern: (0x)?[a-fA-F0-9]+
deviceCertificateId
- The ID of the certificate attached to the resource.
public ResourceIdentifier withDeviceCertificateId(java.lang.String deviceCertificateId)
The ID of the certificate attached to the resource.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 64 - 64
Pattern: (0x)?[a-fA-F0-9]+
deviceCertificateId
- The ID of the certificate attached to the resource.
public java.lang.String getCaCertificateId()
The ID of the CA certificate used to authorize the certificate.
Constraints:
Length: 64 - 64
Pattern: (0x)?[a-fA-F0-9]+
The ID of the CA certificate used to authorize the certificate.
public void setCaCertificateId(java.lang.String caCertificateId)
The ID of the CA certificate used to authorize the certificate.
Constraints:
Length: 64 - 64
Pattern: (0x)?[a-fA-F0-9]+
caCertificateId
- The ID of the CA certificate used to authorize the certificate.
public ResourceIdentifier withCaCertificateId(java.lang.String caCertificateId)
The ID of the CA certificate used to authorize the certificate.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 64 - 64
Pattern: (0x)?[a-fA-F0-9]+
caCertificateId
- The ID of the CA certificate used to authorize the certificate.
public java.lang.String getCognitoIdentityPoolId()
The ID of the Amazon Cognito identity pool.
The ID of the Amazon Cognito identity pool.
public void setCognitoIdentityPoolId(java.lang.String cognitoIdentityPoolId)
The ID of the Amazon Cognito identity pool.
cognitoIdentityPoolId
- The ID of the Amazon Cognito identity pool.
public ResourceIdentifier withCognitoIdentityPoolId(java.lang.String cognitoIdentityPoolId)
The ID of the Amazon Cognito identity pool.
Returns a reference to this object so that method calls can be chained together.
cognitoIdentityPoolId
- The ID of the Amazon Cognito identity pool.
public java.lang.String getClientId()
The client ID.
The client ID.
public void setClientId(java.lang.String clientId)
The client ID.
clientId
- The client ID.
public ResourceIdentifier withClientId(java.lang.String clientId)
The client ID.
Returns a reference to this object so that method calls can be chained together.
clientId
- The client ID.
public PolicyVersionIdentifier getPolicyVersionIdentifier()
The version of the policy associated with the resource.
The version of the policy associated with the resource.
public void setPolicyVersionIdentifier(PolicyVersionIdentifier policyVersionIdentifier)
The version of the policy associated with the resource.
policyVersionIdentifier
- The version of the policy associated with the resource.
public ResourceIdentifier withPolicyVersionIdentifier(PolicyVersionIdentifier policyVersionIdentifier)
The version of the policy associated with the resource.
Returns a reference to this object so that method calls can be chained together.
policyVersionIdentifier
- The version of the policy associated with the resource.
public java.lang.String getAccount()
The account with which the resource is associated.
Constraints:
Length: 12 - 12
Pattern: [0-9]+
The account with which the resource is associated.
public void setAccount(java.lang.String account)
The account with which the resource is associated.
Constraints:
Length: 12 - 12
Pattern: [0-9]+
account
- The account with which the resource is associated.
public ResourceIdentifier withAccount(java.lang.String account)
The account with which the resource is associated.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 12 - 12
Pattern: [0-9]+
account
- The account with which the resource is associated.
public java.lang.String getIamRoleArn()
The ARN of the IAM role that has overly permissive actions.
Constraints:
Length: 20 - 2048
The ARN of the IAM role that has overly permissive actions.
public void setIamRoleArn(java.lang.String iamRoleArn)
The ARN of the IAM role that has overly permissive actions.
Constraints:
Length: 20 - 2048
iamRoleArn
- The ARN of the IAM role that has overly permissive actions.
public ResourceIdentifier withIamRoleArn(java.lang.String iamRoleArn)
The ARN of the IAM role that has overly permissive actions.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 2048
iamRoleArn
- The ARN of the IAM role that has overly permissive actions.
public java.lang.String getRoleAliasArn()
The ARN of the role alias that has overly permissive actions.
Constraints:
Length: 1 - 2048
The ARN of the role alias that has overly permissive actions.
public void setRoleAliasArn(java.lang.String roleAliasArn)
The ARN of the role alias that has overly permissive actions.
Constraints:
Length: 1 - 2048
roleAliasArn
- The ARN of the role alias that has overly permissive actions.
public ResourceIdentifier withRoleAliasArn(java.lang.String roleAliasArn)
The ARN of the role alias that has overly permissive actions.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 2048
roleAliasArn
- The ARN of the role alias that has overly permissive actions.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.