Struct aws_sdk_iam::model::policy_version::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for PolicyVersion
Implementations
The policy document.
The policy document is returned in the response to the GetPolicyVersion and GetAccountAuthorizationDetails operations. It is not returned in the response to the CreatePolicyVersion or ListPolicyVersions operations.
The policy document returned in this structure is URL-encoded compliant with RFC 3986. You can use a URL decoding
method to convert the policy back to plain JSON text. For example, if you use Java, you can
use the decode
method of the java.net.URLDecoder
utility class in
the Java SDK. Other languages and SDKs provide similar functionality.
The policy document.
The policy document is returned in the response to the GetPolicyVersion and GetAccountAuthorizationDetails operations. It is not returned in the response to the CreatePolicyVersion or ListPolicyVersions operations.
The policy document returned in this structure is URL-encoded compliant with RFC 3986. You can use a URL decoding
method to convert the policy back to plain JSON text. For example, if you use Java, you can
use the decode
method of the java.net.URLDecoder
utility class in
the Java SDK. Other languages and SDKs provide similar functionality.
The identifier for the policy version.
Policy version identifiers always begin with v
(always lowercase). When a
policy is created, the first policy version is v1
.
The identifier for the policy version.
Policy version identifiers always begin with v
(always lowercase). When a
policy is created, the first policy version is v1
.
Specifies whether the policy version is set as the policy's default version.
Specifies whether the policy version is set as the policy's default version.
The date and time, in ISO 8601 date-time format, when the policy version was created.
The date and time, in ISO 8601 date-time format, when the policy version was created.
Consumes the builder and constructs a PolicyVersion
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more