Interface GrantAccessRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<GrantAccessRequest.Builder,GrantAccessRequest>, OpsWorksRequest.Builder, SdkBuilder<GrantAccessRequest.Builder,GrantAccessRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
GrantAccessRequest

public static interface GrantAccessRequest.Builder extends OpsWorksRequest.Builder, SdkPojo, CopyableBuilder<GrantAccessRequest.Builder,GrantAccessRequest>
  • Method Details

    • instanceId

      GrantAccessRequest.Builder instanceId(String instanceId)

      The instance's AWS OpsWorks Stacks ID.

      Parameters:
      instanceId - The instance's AWS OpsWorks Stacks ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • validForInMinutes

      GrantAccessRequest.Builder validForInMinutes(Integer validForInMinutes)

      The length of time (in minutes) that the grant is valid. When the grant expires at the end of this period, the user will no longer be able to use the credentials to log in. If the user is logged in at the time, he or she automatically will be logged out.

      Parameters:
      validForInMinutes - The length of time (in minutes) that the grant is valid. When the grant expires at the end of this period, the user will no longer be able to use the credentials to log in. If the user is logged in at the time, he or she automatically will be logged out.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      GrantAccessRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.