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 IamPolicyWriter
create()
boolean
int
hashCode()
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 abyte
array.writeToString
(IamPolicy policy) Write a policy to aString
.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Constructor Details
-
DefaultIamPolicyWriter
-
-
Method Details
-
create
-
builder
-
writeToString
Description copied from interface:IamPolicyWriter
Write a policy to aString
.This does not validate that the provided policy is correct or valid.
- Specified by:
writeToString
in interfaceIamPolicyWriter
-
writeToBytes
Description copied from interface:IamPolicyWriter
Write a policy to abyte
array.This does not validate that the provided policy is correct or valid.
- Specified by:
writeToBytes
in interfaceIamPolicyWriter
-
equals
-
hashCode
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<IamPolicyWriter.Builder,
IamPolicyWriter> - Returns:
- a builder for type T
-