Interface GetDeploymentResponse.Builder

  • Method Details

    • deploymentId

      GetDeploymentResponse.Builder deploymentId(String deploymentId)

      The service-generated id of the deployment.

      Parameters:
      deploymentId - The service-generated id of the deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deploymentArn

      GetDeploymentResponse.Builder deploymentArn(String deploymentArn)

      The Amazon Resource Name (ARN) of the deployment.

      Parameters:
      deploymentArn - The Amazon Resource Name (ARN) of the deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deploymentName

      GetDeploymentResponse.Builder deploymentName(String deploymentName)

      The name of the deployment.

      Parameters:
      deploymentName - The name of the deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deploymentDescription

      GetDeploymentResponse.Builder deploymentDescription(String deploymentDescription)

      A description of the deployment.

      Parameters:
      deploymentDescription - A description of the deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current status of the resource: DRAFT (unpublished, editable), ACTIVE (published, in use), or DISABLED (deactivated; changes cannot be published until the resource is re-enabled).

      Parameters:
      status - The current status of the resource: DRAFT (unpublished, editable), ACTIVE (published, in use), or DISABLED (deactivated; changes cannot be published until the resource is re-enabled).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the resource: DRAFT (unpublished, editable), ACTIVE (published, in use), or DISABLED (deactivated; changes cannot be published until the resource is re-enabled).

      Parameters:
      status - The current status of the resource: DRAFT (unpublished, editable), ACTIVE (published, in use), or DISABLED (deactivated; changes cannot be published until the resource is re-enabled).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • deploymentConfiguration

      GetDeploymentResponse.Builder deploymentConfiguration(DeploymentConfiguration deploymentConfiguration)

      The configuration settings for the deployment.

      Parameters:
      deploymentConfiguration - The configuration settings for the deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deploymentConfiguration

      default GetDeploymentResponse.Builder deploymentConfiguration(Consumer<DeploymentConfiguration.Builder> deploymentConfiguration)

      The configuration settings for the deployment.

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

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

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

      GetDeploymentResponse.Builder associatedPolicyList(Collection<AssociatedPolicy> associatedPolicyList)

      The policies associated with the deployment.

      Parameters:
      associatedPolicyList - The policies associated with the deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • associatedPolicyList

      GetDeploymentResponse.Builder associatedPolicyList(AssociatedPolicy... associatedPolicyList)

      The policies associated with the deployment.

      Parameters:
      associatedPolicyList - The policies associated with the deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • associatedPolicyList

      GetDeploymentResponse.Builder associatedPolicyList(Consumer<AssociatedPolicy.Builder>... associatedPolicyList)

      The policies associated with the deployment.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to associatedPolicyList(List<AssociatedPolicy>).

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

      GetDeploymentResponse.Builder associatedScopeList(Collection<AssociatedScope> associatedScopeList)

      The scope associated with the deployment. A deployment has exactly one scope.

      Parameters:
      associatedScopeList - The scope associated with the deployment. A deployment has exactly one scope.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • associatedScopeList

      GetDeploymentResponse.Builder associatedScopeList(AssociatedScope... associatedScopeList)

      The scope associated with the deployment. A deployment has exactly one scope.

      Parameters:
      associatedScopeList - The scope associated with the deployment. A deployment has exactly one scope.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • associatedScopeList

      GetDeploymentResponse.Builder associatedScopeList(Consumer<AssociatedScope.Builder>... associatedScopeList)

      The scope associated with the deployment. A deployment has exactly one scope.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to associatedScopeList(List<AssociatedScope>).

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

      The version of the resource.

      Parameters:
      version - The version of the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updateToken

      GetDeploymentResponse.Builder updateToken(String updateToken)

      A token used for optimistic concurrency control. Each read and write returns an updateToken. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.

      Parameters:
      updateToken - A token used for optimistic concurrency control. Each read and write returns an updateToken. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isSnapshot

      GetDeploymentResponse.Builder isSnapshot(Boolean isSnapshot)

      Specifies whether the resource is a snapshot of a published version.

      Parameters:
      isSnapshot - Specifies whether the resource is a snapshot of a published version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hasPublishedVersion

      GetDeploymentResponse.Builder hasPublishedVersion(Boolean hasPublishedVersion)

      Specifies whether a published version of the resource exists.

      Parameters:
      hasPublishedVersion - Specifies whether a published version of the resource exists.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      GetDeploymentResponse.Builder updatedAt(Instant updatedAt)

      The time when the resource was last updated.

      Parameters:
      updatedAt - The time when the resource was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deploymentCoverage

      GetDeploymentResponse.Builder deploymentCoverage(Collection<DeploymentCoverageEntry> deploymentCoverage)

      The coverage information for the deployment. For each firewall type, it shows which policies have that firewall type and which in-scope resource types the firewall type protects.

      Parameters:
      deploymentCoverage - The coverage information for the deployment. For each firewall type, it shows which policies have that firewall type and which in-scope resource types the firewall type protects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deploymentCoverage

      GetDeploymentResponse.Builder deploymentCoverage(DeploymentCoverageEntry... deploymentCoverage)

      The coverage information for the deployment. For each firewall type, it shows which policies have that firewall type and which in-scope resource types the firewall type protects.

      Parameters:
      deploymentCoverage - The coverage information for the deployment. For each firewall type, it shows which policies have that firewall type and which in-scope resource types the firewall type protects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deploymentCoverage

      GetDeploymentResponse.Builder deploymentCoverage(Consumer<DeploymentCoverageEntry.Builder>... deploymentCoverage)

      The coverage information for the deployment. For each firewall type, it shows which policies have that firewall type and which in-scope resource types the firewall type protects.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to deploymentCoverage(List<DeploymentCoverageEntry>).

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

      Warnings about potential issues, such as a policy that has no applicable resources in the deployment's scope.

      Parameters:
      warnings - Warnings about potential issues, such as a policy that has no applicable resources in the deployment's scope.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • warnings

      Warnings about potential issues, such as a policy that has no applicable resources in the deployment's scope.

      Parameters:
      warnings - Warnings about potential issues, such as a policy that has no applicable resources in the deployment's scope.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • warnings

      Warnings about potential issues, such as a policy that has no applicable resources in the deployment's scope.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to warnings(List<DeploymentWarningEntry>).

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