@Generated(value="software.amazon.awssdk:codegen") public final class ReplaceDefaultPolicyVersionParams extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReplaceDefaultPolicyVersionParams.Builder,ReplaceDefaultPolicyVersionParams>
Parameters to define a mitigation action that adds a blank policy to restrict permissions.
Modifier and Type | Class and Description |
---|---|
static interface |
ReplaceDefaultPolicyVersionParams.Builder |
Modifier and Type | Method and Description |
---|---|
static ReplaceDefaultPolicyVersionParams.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ReplaceDefaultPolicyVersionParams.Builder> |
serializableBuilderClass() |
PolicyTemplateName |
templateName()
The name of the template to be applied.
|
String |
templateNameAsString()
The name of the template to be applied.
|
ReplaceDefaultPolicyVersionParams.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final PolicyTemplateName templateName()
The name of the template to be applied. The only supported value is BLANK_POLICY
.
If the service returns an enum value that is not available in the current SDK version, templateName
will
return PolicyTemplateName.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
templateNameAsString()
.
BLANK_POLICY
.PolicyTemplateName
public final String templateNameAsString()
The name of the template to be applied. The only supported value is BLANK_POLICY
.
If the service returns an enum value that is not available in the current SDK version, templateName
will
return PolicyTemplateName.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
templateNameAsString()
.
BLANK_POLICY
.PolicyTemplateName
public ReplaceDefaultPolicyVersionParams.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ReplaceDefaultPolicyVersionParams.Builder,ReplaceDefaultPolicyVersionParams>
public static ReplaceDefaultPolicyVersionParams.Builder builder()
public static Class<? extends ReplaceDefaultPolicyVersionParams.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2021. All rights reserved.