@Generated(value="software.amazon.awssdk:codegen") public final class AddLayerVersionPermissionRequest extends LambdaRequest implements ToCopyableBuilder<AddLayerVersionPermissionRequest.Builder,AddLayerVersionPermissionRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
AddLayerVersionPermissionRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
action()
The API action that grants access to the layer.
|
static AddLayerVersionPermissionRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
layerName()
The name or Amazon Resource Name (ARN) of the layer.
|
String |
organizationId()
With the principal set to
* , grant permission to all accounts in the specified organization. |
String |
principal()
An account ID, or
* to grant permission to all AWS accounts. |
String |
revisionId()
Only update the policy if the revision ID matches the ID specified.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AddLayerVersionPermissionRequest.Builder> |
serializableBuilderClass() |
String |
statementId()
An identifier that distinguishes the policy from others on the same layer version.
|
AddLayerVersionPermissionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Long |
versionNumber()
The version number.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String layerName()
The name or Amazon Resource Name (ARN) of the layer.
public Long versionNumber()
The version number.
public String statementId()
An identifier that distinguishes the policy from others on the same layer version.
public String action()
The API action that grants access to the layer. For example, lambda:GetLayerVersion
.
lambda:GetLayerVersion
.public String principal()
An account ID, or *
to grant permission to all AWS accounts.
*
to grant permission to all AWS accounts.public String organizationId()
With the principal set to *
, grant permission to all accounts in the specified organization.
*
, grant permission to all accounts in the specified organization.public String revisionId()
Only update the policy if the revision ID matches the ID specified. Use this option to avoid modifying a policy that has changed since you last read it.
public AddLayerVersionPermissionRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<AddLayerVersionPermissionRequest.Builder,AddLayerVersionPermissionRequest>
toBuilder
in class LambdaRequest
public static AddLayerVersionPermissionRequest.Builder builder()
public static Class<? extends AddLayerVersionPermissionRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsRequest
public boolean equals(Object obj)
equals
in class AwsRequest
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2020. All rights reserved.