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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AwsIamAccessKeySessionContext.Builderattributes(Consumer<AwsIamAccessKeySessionContextAttributes.Builder> attributes)Attributes of the session that the key was used for.AwsIamAccessKeySessionContext.Builderattributes(AwsIamAccessKeySessionContextAttributes attributes)Attributes of the session that the key was used for.default AwsIamAccessKeySessionContext.BuildersessionIssuer(Consumer<AwsIamAccessKeySessionContextSessionIssuer.Builder> sessionIssuer)Information about the entity that created the session.AwsIamAccessKeySessionContext.BuildersessionIssuer(AwsIamAccessKeySessionContextSessionIssuer sessionIssuer)Information about the entity that created the session.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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:
attributes(AwsIamAccessKeySessionContextAttributes)
-
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:
sessionIssuer(AwsIamAccessKeySessionContextSessionIssuer)
-
-