Class UpdatePartnershipResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.b2bi.model.B2BiResponse
-
- software.amazon.awssdk.services.b2bi.model.UpdatePartnershipResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdatePartnershipResponse.Builder,UpdatePartnershipResponse>
@Generated("software.amazon.awssdk:codegen") public final class UpdatePartnershipResponse extends B2BiResponse implements ToCopyableBuilder<UpdatePartnershipResponse.Builder,UpdatePartnershipResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdatePartnershipResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdatePartnershipResponse.Builderbuilder()List<String>capabilities()Returns one or more capabilities associated with this partnership.InstantcreatedAt()Returns a timestamp that identifies the most recent date and time that the partnership was modified.Stringemail()Returns the email address associated with this trading partner.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasCapabilities()For responses, this returns true if the service returned a value for the Capabilities property.inthashCode()InstantmodifiedAt()Returns a timestamp that identifies the most recent date and time that the partnership was modified.Stringname()The name of the partnership, used to identify it.StringpartnershipArn()Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.StringpartnershipId()Returns the unique, system-generated identifier for a partnership.Stringphone()Returns the phone number associated with the partnership.StringprofileId()Returns the unique, system-generated identifier for the profile connected to this partnership.List<SdkField<?>>sdkFields()static Class<? extends UpdatePartnershipResponse.Builder>serializableBuilderClass()UpdatePartnershipResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringtradingPartnerId()Returns the unique, system-generated identifier for a trading partner.-
Methods inherited from class software.amazon.awssdk.services.b2bi.model.B2BiResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
profileId
public final String profileId()
Returns the unique, system-generated identifier for the profile connected to this partnership.
- Returns:
- Returns the unique, system-generated identifier for the profile connected to this partnership.
-
partnershipId
public final String partnershipId()
Returns the unique, system-generated identifier for a partnership.
- Returns:
- Returns the unique, system-generated identifier for a partnership.
-
partnershipArn
public final String partnershipArn()
Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.
- Returns:
- Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.
-
name
public final String name()
The name of the partnership, used to identify it.
- Returns:
- The name of the partnership, used to identify it.
-
email
public final String email()
Returns the email address associated with this trading partner.
- Returns:
- Returns the email address associated with this trading partner.
-
phone
public final String phone()
Returns the phone number associated with the partnership.
- Returns:
- Returns the phone number associated with the partnership.
-
hasCapabilities
public final boolean hasCapabilities()
For responses, this returns true if the service returned a value for the Capabilities property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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.
-
capabilities
public final List<String> capabilities()
Returns one or more capabilities associated with this partnership.
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
hasCapabilities()method.- Returns:
- Returns one or more capabilities associated with this partnership.
-
tradingPartnerId
public final String tradingPartnerId()
Returns the unique, system-generated identifier for a trading partner.
- Returns:
- Returns the unique, system-generated identifier for a trading partner.
-
createdAt
public final Instant createdAt()
Returns a timestamp that identifies the most recent date and time that the partnership was modified.
- Returns:
- Returns a timestamp that identifies the most recent date and time that the partnership was modified.
-
modifiedAt
public final Instant modifiedAt()
Returns a timestamp that identifies the most recent date and time that the partnership was modified.
- Returns:
- Returns a timestamp that identifies the most recent date and time that the partnership was modified.
-
toBuilder
public UpdatePartnershipResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdatePartnershipResponse.Builder,UpdatePartnershipResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static UpdatePartnershipResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdatePartnershipResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-