@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Permission extends Object implements Serializable, Cloneable, StructuredPojo
A cross-account permission for a signing profile.
Constructor and Description |
---|
Permission() |
Modifier and Type | Method and Description |
---|---|
Permission |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
An AWS Signer action permitted as part of cross-account permissions.
|
String |
getPrincipal()
The AWS principal that has been granted a cross-account permission.
|
String |
getProfileVersion()
The signing profile version that a permission applies to.
|
String |
getStatementId()
A unique identifier for a cross-account permission statement.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAction(String action)
An AWS Signer action permitted as part of cross-account permissions.
|
void |
setPrincipal(String principal)
The AWS principal that has been granted a cross-account permission.
|
void |
setProfileVersion(String profileVersion)
The signing profile version that a permission applies to.
|
void |
setStatementId(String statementId)
A unique identifier for a cross-account permission statement.
|
String |
toString()
Returns a string representation of this object.
|
Permission |
withAction(String action)
An AWS Signer action permitted as part of cross-account permissions.
|
Permission |
withPrincipal(String principal)
The AWS principal that has been granted a cross-account permission.
|
Permission |
withProfileVersion(String profileVersion)
The signing profile version that a permission applies to.
|
Permission |
withStatementId(String statementId)
A unique identifier for a cross-account permission statement.
|
public void setAction(String action)
An AWS Signer action permitted as part of cross-account permissions.
action
- An AWS Signer action permitted as part of cross-account permissions.public String getAction()
An AWS Signer action permitted as part of cross-account permissions.
public Permission withAction(String action)
An AWS Signer action permitted as part of cross-account permissions.
action
- An AWS Signer action permitted as part of cross-account permissions.public void setPrincipal(String principal)
The AWS principal that has been granted a cross-account permission.
principal
- The AWS principal that has been granted a cross-account permission.public String getPrincipal()
The AWS principal that has been granted a cross-account permission.
public Permission withPrincipal(String principal)
The AWS principal that has been granted a cross-account permission.
principal
- The AWS principal that has been granted a cross-account permission.public void setStatementId(String statementId)
A unique identifier for a cross-account permission statement.
statementId
- A unique identifier for a cross-account permission statement.public String getStatementId()
A unique identifier for a cross-account permission statement.
public Permission withStatementId(String statementId)
A unique identifier for a cross-account permission statement.
statementId
- A unique identifier for a cross-account permission statement.public void setProfileVersion(String profileVersion)
The signing profile version that a permission applies to.
profileVersion
- The signing profile version that a permission applies to.public String getProfileVersion()
The signing profile version that a permission applies to.
public Permission withProfileVersion(String profileVersion)
The signing profile version that a permission applies to.
profileVersion
- The signing profile version that a permission applies to.public String toString()
toString
in class Object
Object.toString()
public Permission clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.