Interface UpdateLinkRequest.Builder

  • Method Details

    • identifier

      UpdateLinkRequest.Builder identifier(String identifier)

      The ARN of the link that you want to update.

      Parameters:
      identifier - The ARN of the link that you want to update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • includeTags

      UpdateLinkRequest.Builder includeTags(Boolean includeTags)

      Specifies whether to include the tags associated with the link in the response after the update operation. When IncludeTags is set to true and the caller has the required permission, oam:ListTagsForResource, the API will return the tags for the specified resource. If the caller doesn't have the required permission, oam:ListTagsForResource, the API will raise an exception.

      The default value is false.

      Parameters:
      includeTags - Specifies whether to include the tags associated with the link in the response after the update operation. When IncludeTags is set to true and the caller has the required permission, oam:ListTagsForResource, the API will return the tags for the specified resource. If the caller doesn't have the required permission, oam:ListTagsForResource, the API will raise an exception.

      The default value is false.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • linkConfiguration

      UpdateLinkRequest.Builder linkConfiguration(LinkConfiguration linkConfiguration)

      Use this structure to filter which metric namespaces and which log groups are to be shared from the source account to the monitoring account.

      Parameters:
      linkConfiguration - Use this structure to filter which metric namespaces and which log groups are to be shared from the source account to the monitoring account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • linkConfiguration

      default UpdateLinkRequest.Builder linkConfiguration(Consumer<LinkConfiguration.Builder> linkConfiguration)

      Use this structure to filter which metric namespaces and which log groups are to be shared from the source account to the monitoring account.

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

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

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

      UpdateLinkRequest.Builder resourceTypesWithStrings(Collection<String> resourceTypes)

      An array of strings that define which types of data that the source account will send to the monitoring account.

      Your input here replaces the current set of data types that are shared.

      Parameters:
      resourceTypes - An array of strings that define which types of data that the source account will send to the monitoring account.

      Your input here replaces the current set of data types that are shared.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceTypesWithStrings

      UpdateLinkRequest.Builder resourceTypesWithStrings(String... resourceTypes)

      An array of strings that define which types of data that the source account will send to the monitoring account.

      Your input here replaces the current set of data types that are shared.

      Parameters:
      resourceTypes - An array of strings that define which types of data that the source account will send to the monitoring account.

      Your input here replaces the current set of data types that are shared.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceTypes

      UpdateLinkRequest.Builder resourceTypes(Collection<ResourceType> resourceTypes)

      An array of strings that define which types of data that the source account will send to the monitoring account.

      Your input here replaces the current set of data types that are shared.

      Parameters:
      resourceTypes - An array of strings that define which types of data that the source account will send to the monitoring account.

      Your input here replaces the current set of data types that are shared.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceTypes

      UpdateLinkRequest.Builder resourceTypes(ResourceType... resourceTypes)

      An array of strings that define which types of data that the source account will send to the monitoring account.

      Your input here replaces the current set of data types that are shared.

      Parameters:
      resourceTypes - An array of strings that define which types of data that the source account will send to the monitoring account.

      Your input here replaces the current set of data types that are shared.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      UpdateLinkRequest.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.