@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddProfilePermissionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AddProfilePermissionRequest() |
Modifier and Type | Method and Description |
---|---|
AddProfilePermissionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAction()
For cross-account signing.
|
String |
getPrincipal()
The AWS principal receiving cross-account permissions.
|
String |
getProfileName()
The human-readable name of the signing profile.
|
String |
getProfileVersion()
The version of the signing profile.
|
String |
getRevisionId()
A unique identifier for the current profile revision.
|
String |
getStatementId()
A unique identifier for the cross-account permission statement.
|
int |
hashCode() |
void |
setAction(String action)
For cross-account signing.
|
void |
setPrincipal(String principal)
The AWS principal receiving cross-account permissions.
|
void |
setProfileName(String profileName)
The human-readable name of the signing profile.
|
void |
setProfileVersion(String profileVersion)
The version of the signing profile.
|
void |
setRevisionId(String revisionId)
A unique identifier for the current profile revision.
|
void |
setStatementId(String statementId)
A unique identifier for the cross-account permission statement.
|
String |
toString()
Returns a string representation of this object.
|
AddProfilePermissionRequest |
withAction(String action)
For cross-account signing.
|
AddProfilePermissionRequest |
withPrincipal(String principal)
The AWS principal receiving cross-account permissions.
|
AddProfilePermissionRequest |
withProfileName(String profileName)
The human-readable name of the signing profile.
|
AddProfilePermissionRequest |
withProfileVersion(String profileVersion)
The version of the signing profile.
|
AddProfilePermissionRequest |
withRevisionId(String revisionId)
A unique identifier for the current profile revision.
|
AddProfilePermissionRequest |
withStatementId(String statementId)
A unique identifier for the cross-account permission statement.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setProfileName(String profileName)
The human-readable name of the signing profile.
profileName
- The human-readable name of the signing profile.public String getProfileName()
The human-readable name of the signing profile.
public AddProfilePermissionRequest withProfileName(String profileName)
The human-readable name of the signing profile.
profileName
- The human-readable name of the signing profile.public void setProfileVersion(String profileVersion)
The version of the signing profile.
profileVersion
- The version of the signing profile.public String getProfileVersion()
The version of the signing profile.
public AddProfilePermissionRequest withProfileVersion(String profileVersion)
The version of the signing profile.
profileVersion
- The version of the signing profile.public void setAction(String action)
For cross-account signing. Grant a designated account permission to perform one or more of the following actions. Each action is associated with a specific API's operations. For more information about cross-account signing, see Using cross-account signing with signing profiles in the AWS Signer Developer Guide.
You can designate the following actions to an account.
signer:StartSigningJob
. This action isn't supported for container image workflows. For details, see
StartSigningJob.
signer:SignPayload
. This action isn't supported for AWS Lambda workflows. For details, see
SignPayload
signer:GetSigningProfile
. For details, see GetSigningProfile.
signer:RevokeSignature
. For details, see RevokeSignature.
action
- For cross-account signing. Grant a designated account permission to perform one or more of the following
actions. Each action is associated with a specific API's operations. For more information about
cross-account signing, see Using
cross-account signing with signing profiles in the AWS Signer Developer Guide.
You can designate the following actions to an account.
signer:StartSigningJob
. This action isn't supported for container image workflows. For
details, see StartSigningJob.
signer:SignPayload
. This action isn't supported for AWS Lambda workflows. For details, see
SignPayload
signer:GetSigningProfile
. For details, see GetSigningProfile.
signer:RevokeSignature
. For details, see RevokeSignature.
public String getAction()
For cross-account signing. Grant a designated account permission to perform one or more of the following actions. Each action is associated with a specific API's operations. For more information about cross-account signing, see Using cross-account signing with signing profiles in the AWS Signer Developer Guide.
You can designate the following actions to an account.
signer:StartSigningJob
. This action isn't supported for container image workflows. For details, see
StartSigningJob.
signer:SignPayload
. This action isn't supported for AWS Lambda workflows. For details, see
SignPayload
signer:GetSigningProfile
. For details, see GetSigningProfile.
signer:RevokeSignature
. For details, see RevokeSignature.
You can designate the following actions to an account.
signer:StartSigningJob
. This action isn't supported for container image workflows. For
details, see StartSigningJob.
signer:SignPayload
. This action isn't supported for AWS Lambda workflows. For details, see
SignPayload
signer:GetSigningProfile
. For details, see GetSigningProfile.
signer:RevokeSignature
. For details, see RevokeSignature.
public AddProfilePermissionRequest withAction(String action)
For cross-account signing. Grant a designated account permission to perform one or more of the following actions. Each action is associated with a specific API's operations. For more information about cross-account signing, see Using cross-account signing with signing profiles in the AWS Signer Developer Guide.
You can designate the following actions to an account.
signer:StartSigningJob
. This action isn't supported for container image workflows. For details, see
StartSigningJob.
signer:SignPayload
. This action isn't supported for AWS Lambda workflows. For details, see
SignPayload
signer:GetSigningProfile
. For details, see GetSigningProfile.
signer:RevokeSignature
. For details, see RevokeSignature.
action
- For cross-account signing. Grant a designated account permission to perform one or more of the following
actions. Each action is associated with a specific API's operations. For more information about
cross-account signing, see Using
cross-account signing with signing profiles in the AWS Signer Developer Guide.
You can designate the following actions to an account.
signer:StartSigningJob
. This action isn't supported for container image workflows. For
details, see StartSigningJob.
signer:SignPayload
. This action isn't supported for AWS Lambda workflows. For details, see
SignPayload
signer:GetSigningProfile
. For details, see GetSigningProfile.
signer:RevokeSignature
. For details, see RevokeSignature.
public void setPrincipal(String principal)
The AWS principal receiving cross-account permissions. This may be an IAM role or another AWS account ID.
principal
- The AWS principal receiving cross-account permissions. This may be an IAM role or another AWS account ID.public String getPrincipal()
The AWS principal receiving cross-account permissions. This may be an IAM role or another AWS account ID.
public AddProfilePermissionRequest withPrincipal(String principal)
The AWS principal receiving cross-account permissions. This may be an IAM role or another AWS account ID.
principal
- The AWS principal receiving cross-account permissions. This may be an IAM role or another AWS account ID.public void setRevisionId(String revisionId)
A unique identifier for the current profile revision.
revisionId
- A unique identifier for the current profile revision.public String getRevisionId()
A unique identifier for the current profile revision.
public AddProfilePermissionRequest withRevisionId(String revisionId)
A unique identifier for the current profile revision.
revisionId
- A unique identifier for the current profile revision.public void setStatementId(String statementId)
A unique identifier for the cross-account permission statement.
statementId
- A unique identifier for the cross-account permission statement.public String getStatementId()
A unique identifier for the cross-account permission statement.
public AddProfilePermissionRequest withStatementId(String statementId)
A unique identifier for the cross-account permission statement.
statementId
- A unique identifier for the cross-account permission statement.public String toString()
toString
in class Object
Object.toString()
public AddProfilePermissionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()