@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutAccessPointPolicyForObjectLambdaRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutAccessPointPolicyForObjectLambdaRequest() |
Modifier and Type | Method and Description |
---|---|
PutAccessPointPolicyForObjectLambdaRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccountId()
The account ID for the account that owns the specified Object Lambda Access Point.
|
String |
getName()
The name of the Object Lambda Access Point.
|
String |
getPolicy()
Object Lambda Access Point resource policy document.
|
int |
hashCode() |
void |
setAccountId(String accountId)
The account ID for the account that owns the specified Object Lambda Access Point.
|
void |
setName(String name)
The name of the Object Lambda Access Point.
|
void |
setPolicy(String policy)
Object Lambda Access Point resource policy document.
|
String |
toString()
Returns a string representation of this object.
|
PutAccessPointPolicyForObjectLambdaRequest |
withAccountId(String accountId)
The account ID for the account that owns the specified Object Lambda Access Point.
|
PutAccessPointPolicyForObjectLambdaRequest |
withName(String name)
The name of the Object Lambda Access Point.
|
PutAccessPointPolicyForObjectLambdaRequest |
withPolicy(String policy)
Object Lambda Access Point resource policy document.
|
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 PutAccessPointPolicyForObjectLambdaRequest()
public void setAccountId(String accountId)
The account ID for the account that owns the specified Object Lambda Access Point.
accountId
- The account ID for the account that owns the specified Object Lambda Access Point.public String getAccountId()
The account ID for the account that owns the specified Object Lambda Access Point.
public PutAccessPointPolicyForObjectLambdaRequest withAccountId(String accountId)
The account ID for the account that owns the specified Object Lambda Access Point.
accountId
- The account ID for the account that owns the specified Object Lambda Access Point.public void setName(String name)
The name of the Object Lambda Access Point.
name
- The name of the Object Lambda Access Point.public String getName()
The name of the Object Lambda Access Point.
public PutAccessPointPolicyForObjectLambdaRequest withName(String name)
The name of the Object Lambda Access Point.
name
- The name of the Object Lambda Access Point.public void setPolicy(String policy)
Object Lambda Access Point resource policy document.
policy
- Object Lambda Access Point resource policy document.public String getPolicy()
Object Lambda Access Point resource policy document.
public PutAccessPointPolicyForObjectLambdaRequest withPolicy(String policy)
Object Lambda Access Point resource policy document.
policy
- Object Lambda Access Point resource policy document.public String toString()
toString
in class Object
Object.toString()
public PutAccessPointPolicyForObjectLambdaRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()