本文整理了Java中software.amazon.awssdk.utils.ToString.add()
方法的一些代码示例,展示了ToString.add()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ToString.add()
方法的具体详情如下:
包路径:software.amazon.awssdk.utils.ToString
类名称:ToString
方法名:add
[英]Add a field to the to-string result.
[中]将字段添加到to字符串结果。
代码示例来源:origin: aws/aws-sdk-java-v2
/**
* 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.
*/
@Override
public String toString() {
return ToString.builder("UpdateHostedZoneCommentRequest").add("Id", id()).add("Comment", comment()).build();
}
代码示例来源:origin: aws/aws-sdk-java-v2
/**
* 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.
*/
@Override
public String toString() {
return ToString.builder("AssociateResolverRuleResponse").add("ResolverRuleAssociation", resolverRuleAssociation())
.build();
}
代码示例来源:origin: aws/aws-sdk-java-v2
/**
* 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.
*/
@Override
public String toString() {
return ToString.builder("CopyObjectResult").add("ETag", eTag()).add("LastModified", lastModified()).build();
}
代码示例来源:origin: aws/aws-sdk-java-v2
/**
* 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.
*/
@Override
public String toString() {
return ToString.builder("DisassociateResolverEndpointIpAddressResponse").add("ResolverEndpoint", resolverEndpoint())
.build();
}
代码示例来源:origin: aws/aws-sdk-java-v2
/**
* 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.
*/
@Override
public String toString() {
return ToString.builder("ReusableDelegationSetLimit").add("Type", typeAsString()).add("Value", value()).build();
}
代码示例来源:origin: aws/aws-sdk-java-v2
/**
* 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.
*/
@Override
public String toString() {
return ToString.builder("GetBucketAclResponse").add("Owner", owner()).add("Grants", grants()).build();
}
代码示例来源:origin: aws/aws-sdk-java-v2
/**
* 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.
*/
@Override
public String toString() {
return ToString.builder("AnalyticsConfiguration").add("Id", id()).add("Filter", filter())
.add("StorageClassAnalysis", storageClassAnalysis()).build();
}
代码示例来源:origin: aws/aws-sdk-java-v2
/**
* 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.
*/
@Override
public String toString() {
return ToString.builder("Delete").add("Objects", objects()).add("Quiet", quiet()).build();
}
代码示例来源:origin: aws/aws-sdk-java-v2
/**
* 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.
*/
@Override
public String toString() {
return ToString.builder("Tag").add("Key", key()).add("Value", value()).build();
}
代码示例来源:origin: aws/aws-sdk-java-v2
/**
* 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.
*/
@Override
public String toString() {
return ToString.builder("ResourceRecord").add("Value", value()).build();
}
代码示例来源:origin: aws/aws-sdk-java-v2
/**
* 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.
*/
@Override
public String toString() {
return ToString.builder("CheckDomainTransferabilityResponse").add("Transferability", transferability()).build();
}
代码示例来源:origin: aws/aws-sdk-java-v2
/**
* 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.
*/
@Override
public String toString() {
return ToString.builder("RegisterDomainResponse").add("OperationId", operationId()).build();
}
代码示例来源:origin: aws/aws-sdk-java-v2
/**
* 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.
*/
@Override
public String toString() {
return ToString.builder("TrafficPolicyInstance").add("Id", id()).add("HostedZoneId", hostedZoneId()).add("Name", name())
.add("TTL", ttl()).add("State", state()).add("Message", message()).add("TrafficPolicyId", trafficPolicyId())
.add("TrafficPolicyVersion", trafficPolicyVersion()).add("TrafficPolicyType", trafficPolicyTypeAsString())
.build();
}
代码示例来源:origin: aws/aws-sdk-java-v2
/**
* 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.
*/
@Override
public String toString() {
return ToString.builder("UntagResourceRequest").add("ResourceArn", resourceArn()).add("TagKeys", tagKeys()).build();
}
代码示例来源:origin: aws/aws-sdk-java-v2
/**
* 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.
*/
@Override
public String toString() {
return ToString.builder("DisableDomainTransferLockResponse").add("OperationId", operationId()).build();
}
代码示例来源:origin: aws/aws-sdk-java-v2
/**
* 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.
*/
@Override
public String toString() {
return ToString.builder("UpdateTrafficPolicyCommentResponse").add("TrafficPolicy", trafficPolicy()).build();
}
代码示例来源:origin: aws/aws-sdk-java-v2
/**
* 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.
*/
@Override
public String toString() {
return ToString.builder("CopyPartResult").add("ETag", eTag()).add("LastModified", lastModified()).build();
}
代码示例来源:origin: aws/aws-sdk-java-v2
/**
* 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.
*/
@Override
public String toString() {
return ToString.builder("Encryption").add("EncryptionType", encryptionTypeAsString())
.add("KMSKeyId", kmsKeyId() == null ? null : "*** Sensitive Data Redacted ***").add("KMSContext", kmsContext())
.build();
}
代码示例来源:origin: aws/aws-sdk-java-v2
/**
* 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.
*/
@Override
public String toString() {
return ToString.builder("DomainTransferability").add("Transferable", transferableAsString()).build();
}
代码示例来源:origin: aws/aws-sdk-java-v2
/**
* 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.
*/
@Override
public String toString() {
return ToString.builder("DeleteResolverEndpointRequest").add("ResolverEndpointId", resolverEndpointId()).build();
}
内容来源于网络,如有侵权,请联系作者删除!