@Generated(value="software.amazon.awssdk:codegen") public final class CreateLinkRequest extends OamRequest implements ToCopyableBuilder<CreateLinkRequest.Builder,CreateLinkRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateLinkRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateLinkRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasResourceTypes()
For responses, this returns true if the service returned a value for the ResourceTypes property.
|
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
String |
labelTemplate()
Specify a friendly human-readable name to use to identify this source account when you are viewing data from it
in the monitoring account.
|
List<ResourceType> |
resourceTypes()
An array of strings that define which types of data that the source account shares with the monitoring account.
|
List<String> |
resourceTypesAsStrings()
An array of strings that define which types of data that the source account shares with the monitoring account.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateLinkRequest.Builder> |
serializableBuilderClass() |
String |
sinkIdentifier()
The ARN of the sink to use to create this link.
|
Map<String,String> |
tags()
Assigns one or more tags (key-value pairs) to the link.
|
CreateLinkRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String labelTemplate()
Specify a friendly human-readable name to use to identify this source account when you are viewing data from it in the monitoring account.
You can use a custom label or use the following variables:
$AccountName is the name of the account
$AccountEmail is the globally unique email address of the account
$AccountEmailNoDomain is the email address of the account without the domain name
You can use a custom label or use the following variables:
$AccountName is the name of the account
$AccountEmail is the globally unique email address of the account
$AccountEmailNoDomain is the email address of the account without the domain name
public final List<ResourceType> resourceTypes()
An array of strings that define which types of data that the source account shares with the monitoring account.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasResourceTypes() method.
public final boolean hasResourceTypes()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> resourceTypesAsStrings()
An array of strings that define which types of data that the source account shares with the monitoring account.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasResourceTypes() method.
public final String sinkIdentifier()
The ARN of the sink to use to create this link. You can use ListSinks to find the ARNs of sinks.
For more information about sinks, see CreateSink.
For more information about sinks, see CreateSink.
public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final Map<String,String> tags()
Assigns one or more tags (key-value pairs) to the link.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
For more information about using tags to control access, see Controlling access to Amazon Web Services resources using tags.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
For more information about using tags to control access, see Controlling access to Amazon Web Services resources using tags.
public CreateLinkRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateLinkRequest.Builder,CreateLinkRequest>toBuilder in class OamRequestpublic static CreateLinkRequest.Builder builder()
public static Class<? extends CreateLinkRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.