Interface ResourceState.Builder

  • Method Details

    • codeRepository

      ResourceState.Builder codeRepository(State codeRepository)
      Sets the value of the CodeRepository property for this object.
      Parameters:
      codeRepository - The new value for the CodeRepository property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • codeRepository

      default ResourceState.Builder codeRepository(Consumer<State.Builder> codeRepository)
      Sets the value of the CodeRepository property for this object. This is a convenience method that creates an instance of the State.Builder avoiding the need to create one manually via State.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to codeRepository(State).

      Parameters:
      codeRepository - a consumer that will call methods on State.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ec2

      An object detailing the state of Amazon Inspector scanning for Amazon EC2 resources.

      Parameters:
      ec2 - An object detailing the state of Amazon Inspector scanning for Amazon EC2 resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ec2

      An object detailing the state of Amazon Inspector scanning for Amazon EC2 resources.

      This is a convenience method that creates an instance of the State.Builder avoiding the need to create one manually via State.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to ec2(State).

      Parameters:
      ec2 - a consumer that will call methods on State.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ecr

      An object detailing the state of Amazon Inspector scanning for Amazon ECR resources.

      Parameters:
      ecr - An object detailing the state of Amazon Inspector scanning for Amazon ECR resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ecr

      An object detailing the state of Amazon Inspector scanning for Amazon ECR resources.

      This is a convenience method that creates an instance of the State.Builder avoiding the need to create one manually via State.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to ecr(State).

      Parameters:
      ecr - a consumer that will call methods on State.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lambda

      ResourceState.Builder lambda(State lambda)

      An object that described the state of Amazon Inspector scans for an account.

      Parameters:
      lambda - An object that described the state of Amazon Inspector scans for an account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lambda

      default ResourceState.Builder lambda(Consumer<State.Builder> lambda)

      An object that described the state of Amazon Inspector scans for an account.

      This is a convenience method that creates an instance of the State.Builder avoiding the need to create one manually via State.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to lambda(State).

      Parameters:
      lambda - a consumer that will call methods on State.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lambdaCode

      ResourceState.Builder lambdaCode(State lambdaCode)

      An object that described the state of Amazon Inspector scans for an account.

      Parameters:
      lambdaCode - An object that described the state of Amazon Inspector scans for an account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lambdaCode

      default ResourceState.Builder lambdaCode(Consumer<State.Builder> lambdaCode)

      An object that described the state of Amazon Inspector scans for an account.

      This is a convenience method that creates an instance of the State.Builder avoiding the need to create one manually via State.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to lambdaCode(State).

      Parameters:
      lambdaCode - a consumer that will call methods on State.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: