Interface AwsIamAccessKeySessionContext.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AwsIamAccessKeySessionContext.Builder,,AwsIamAccessKeySessionContext> SdkBuilder<AwsIamAccessKeySessionContext.Builder,,AwsIamAccessKeySessionContext> SdkPojo
- Enclosing class:
AwsIamAccessKeySessionContext
public static interface AwsIamAccessKeySessionContext.Builder
extends SdkPojo, CopyableBuilder<AwsIamAccessKeySessionContext.Builder,AwsIamAccessKeySessionContext>
-
Method Summary
Modifier and TypeMethodDescriptionAttributes of the session that the key was used for.attributes(AwsIamAccessKeySessionContextAttributes attributes) Attributes of the session that the key was used for.sessionIssuer(Consumer<AwsIamAccessKeySessionContextSessionIssuer.Builder> sessionIssuer) Information about the entity that created the session.sessionIssuer(AwsIamAccessKeySessionContextSessionIssuer sessionIssuer) Information about the entity that created the session.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
attributes
AwsIamAccessKeySessionContext.Builder attributes(AwsIamAccessKeySessionContextAttributes attributes) Attributes of the session that the key was used for.
- Parameters:
attributes- Attributes of the session that the key was used for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
default AwsIamAccessKeySessionContext.Builder attributes(Consumer<AwsIamAccessKeySessionContextAttributes.Builder> attributes) Attributes of the session that the key was used for.
This is a convenience method that creates an instance of theAwsIamAccessKeySessionContextAttributes.Builderavoiding the need to create one manually viaAwsIamAccessKeySessionContextAttributes.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattributes(AwsIamAccessKeySessionContextAttributes).- Parameters:
attributes- a consumer that will call methods onAwsIamAccessKeySessionContextAttributes.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sessionIssuer
AwsIamAccessKeySessionContext.Builder sessionIssuer(AwsIamAccessKeySessionContextSessionIssuer sessionIssuer) Information about the entity that created the session.
- Parameters:
sessionIssuer- Information about the entity that created the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionIssuer
default AwsIamAccessKeySessionContext.Builder sessionIssuer(Consumer<AwsIamAccessKeySessionContextSessionIssuer.Builder> sessionIssuer) Information about the entity that created the session.
This is a convenience method that creates an instance of theAwsIamAccessKeySessionContextSessionIssuer.Builderavoiding the need to create one manually viaAwsIamAccessKeySessionContextSessionIssuer.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosessionIssuer(AwsIamAccessKeySessionContextSessionIssuer).- Parameters:
sessionIssuer- a consumer that will call methods onAwsIamAccessKeySessionContextSessionIssuer.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-