Class DefaultIamPolicyWriter
java.lang.Object
software.amazon.awssdk.policybuilder.iam.internal.DefaultIamPolicyWriter
- All Implemented Interfaces:
IamPolicyWriter,ToCopyableBuilder<IamPolicyWriter.Builder,IamPolicyWriter>
Default implementation of
IamPolicyWriter.- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static IamPolicyWritercreate()booleaninthashCode()Take this object and create a builder that contains all of the current property values of this object.byte[]writeToBytes(IamPolicy policy) Write a policy to abytearray.writeToString(IamPolicy policy) Write a policy to aString.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Constructor Details
-
DefaultIamPolicyWriter
-
-
Method Details
-
create
-
builder
-
writeToString
Description copied from interface:IamPolicyWriterWrite a policy to aString.This does not validate that the provided policy is correct or valid.
- Specified by:
writeToStringin interfaceIamPolicyWriter
-
writeToBytes
Description copied from interface:IamPolicyWriterWrite a policy to abytearray.This does not validate that the provided policy is correct or valid.
- Specified by:
writeToBytesin interfaceIamPolicyWriter
-
equals
-
hashCode
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<IamPolicyWriter.Builder,IamPolicyWriter> - Returns:
- a builder for type T
-